package drg_group.taizhou_2022.MDC;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;

import drg_group.taizhou_2022.Base;
import drg_group.taizhou_2022.MedicalRecord;
import drg_group.taizhou_2022.ADRG.*;

public class MDCC{
    public static String group(MedicalRecord record){
        String[] mdc_zd={"Q10.403","S05.300x005","H53.803","A50.001+H58.8*","H30.100x002","B02.308+H19.0*","S05.903","H00.000x001","H20.102","H59.806","H20.800","H11.901","H15.806","H17.901","B00.505+H22.0*","H21.900","S05.901","H33.504","E14.300x091+H28.0*","H40.500x001","A18.500x005+H32.0*","H35.800x011","H35.800x005","E10.300x046+H36.0*","B00.508+H22.0*","H49.807","H44.800","H18.003","H33.303","H18.502","H04.504","S05.800x007","H50.105","H59.800x011","H44.301","H11.802","C69.501","H11.103","A71.100x002","H59.803","H35.307","S05.206","H20.003","H47.300x005","E10.300x024+H36.0*","T85.302","S05.202","H21.100","H35.400x004","D31.100","H44.700x007","H01.802","H31.900","A71.000","H11.808","H50.806","H47.000x009","H16.003","Q13.802","S05.104","Q15.900","Q13.202","R44.100","T26.603","H26.300x001","H02.200","H49.800x007","H21.300x007","T20.700x011","S05.103","H35.014","H04.501","H35.004","T20.700x012","H02.004","H02.600","I72.803","B30.000+H19.2*","H43.900","H40.400","H11.107","H35.002","H25.800x002","Q13.400x006","H26.301","H33.400","H11.102","H02.003","E14.300x033+H36.0*","A50.300x003+H32.0*","T86.800x804","H35.015","H34.900x001","H15.800x009","Q14.001","H21.204","B00.500x002+H58.8*","H40.001","E05.902+H58.8*","R93.800x008","H44.000x002","S05.800x001","H53.000","S05.800x009","B37.807+H48.8*","H35.500x009","S05.500x001","H26.002","H44.700","H40.600","Q15.802","E14.300x061+H28.0*","Q10.302","H59.813","H05.000x006","H16.804","Q14.100","S05.802","H26.200","Q15.005","H35.400x001","T86.801","S05.801","Q10.402","B49.x04+H19.2*","H04.509","H50.500x002","A52.708+H58.8*","Q10.300x008","E10.300x043+H36.0*","H47.200x004","T85.309","H57.800x007","A51.404+H58.8*","T85.200x002","T26.001","H46.x01","Q82.800x017","Q14.000","Q12.800","Q15.002","B00.500x007+H22.0*","T26.500x002","E10.300x021+H36.0*","T85.300x007","H43.100x003","H10.900","Q12.100","C69.502","Q12.900","H44.600x006","H20.900x004","H53.100","T85.301","A51.403+H32.0*","H16.005","H16.102","Q11.300","H50.400","A71.100","C44.100x002","H18.000x004","H35.300x008","A54.300x002+H19.2*","H44.502","H35.801","H40.502","H34.201","H27.800","H44.300x001","T20.400x012","H05.100x005","H59.800x004","H40.900","H35.700","H02.800x016","H35.013","H35.500x007","D23.100x002","H44.700x008","H44.402","H27.101","H34.801","H18.000x006","H44.600x007","H04.104","Q15.000x001","S01.100","H02.400","H35.200x001","H40.500x008","E14.300x044+H36.0*","H16.200","H59.811","H43.001","Q13.801","B25.800x002+H19.2*","H59.800x003","H01.100","T26.102","H35.300x010","T20.600x011","D21.000","H43.800x003","H01.801","H47.001","H53.500","H05.102","H02.810","C43.100x001","E14.300x035+H36.0*","C79.400x014","H21.300x005","H53.600","Q15.004","H16.805","H59.810","S05.210","T15.800x002","H35.500x008","H25.800","H43.300","H31.200","H02.807","H40.500x002","S05.800x008","H44.103","H34.803","H35.304","H20.101","T26.601","H50.600","H05.001","H50.100x007","H02.103","H18.800x012","H02.811","H21.503","H35.803","H50.106","H02.705","H18.002","H49.809","E12.300","Q13.803","H21.200","H51.200","H30.902","H47.500","S05.604","H21.301","S00.100x001","H04.508","A74.000+H13.1*","H18.400","H33.401","H21.402","E10.300x053+H36.0*","T26.100x001","H33.304","D48.900x014+H36.8*","E11.300x047+H36.0*","H16.400","H21.002","S05.209","H59.800x009","H50.800x002","T20.300x011","H05.100","H44.700x003","H44.803","H49.300","H05.800x005","H34.100","H55.x00x005","H40.203","H49.201","H50.202","H01.100x007","Q13.100","T26.800x001","H50.500x004","T26.400","H11.800x006","T26.401","H31.800x003","D31.502","H02.702","S05.101","C69.900x001","H34.800","H10.800x001","Q13.500","S05.208","H30.903","H49.901","H33.101","Q14.002","H05.002","H47.000","H35.100","H50.805","H57.100x002","S05.812","H57.001","B30.900","H31.901","H35.400x005","D21.003","T20.000x012","E14.300x021+H36.0*","H04.200","H18.800x014","C43.101","H47.400","B00.506+H22.0*","E11.300x035+H36.0*","H05.100x003","H05.800x002","Q13.405","H40.800x004","H44.302","D31.604","Q10.300x012","H11.000","H18.805","A52.102+H58.0*","H47.300","Q13.900","A30.900x006+H19.2*","H54.100","H18.802","E10.300x036+H36.0*","H21.801","Q14.200x001","H50.100x002","H35.805","H16.100","H20.100x002","H21.505","H43.200x001","S04.100","H50.000","H40.202","H02.800x011","H33.506","H11.804","B30.100+H13.1*","H40.600x002","H53.300x004","C69.300","H35.011","H35.602","H40.503","H35.300x007","S05.806","D31.000x002","H04.503","H50.103","E14.300x047+H36.0*","H40.504","H21.302","D23.100x003","H31.200x003","H55.x01","Q14.200","H57.002","T20.700x010","S05.808","Q13.101+H42.8*","H04.402","H05.500","B25.802+H32.0*","H49.900","E11.300x025+H36.0*","E14.300x015+H36.0*","H04.300x004","H31.200x005","H35.400","Q10.401","H25.004","B02.303+H03.1*","A18.502+H32.0*","H53.500x003","B58.001+H32.0*","Q13.203","S05.100x004","E13.300x271+H36.0*","B02.301+H58.8*","H01.900","H35.400x007","H00.001","H31.200x002","H40.200x006","T26.200x001","H21.901","C69.900","H44.100","H50.401","H53.500x002","H17.000","H10.500x001","H35.000x019","E11.300x032+H36.0*","Q14.101","H50.403","H21.303","H31.101","H53.500x005","E11.300x034+H36.0*","H43.000","C79.407","H04.602","D31.901","H33.200x004","D31.402","E50.400x001+H19.8*","H05.901","H50.300x002","H02.100","H59.003","H44.100x003","H35.005","H10.500","D48.704","H52.500x004","H44.000x007","H55.x00x001","Q85.900x046","H18.806","H04.500x001","H50.404","E10.300x033+H36.0*","H26.400x002","H16.300x005","S05.200x005","C44.100x004","E14.300x045+H36.0*","H53.300x003","H59.812","E11.300x031+H36.0*","H50.300","H11.101","T86.800x802","H18.404","H21.802","H53.200","C69.602","S05.301","T86.800x812","H21.200x007","H30.000x005","H52.400","H44.002","S05.205","H04.506","H35.000x021","H17.801","S05.102","H25.100","H20.200x001","H05.104","H27.100","T85.300x008","C69.600","H30.900x001","Q10.500x003","H52.100","E50.300x001+H19.8*","T20.300x012","H49.800","S05.204","H34.200","H04.001","H51.900","H26.000x001","H31.000x001","E10.300x012+H36.0*","E10.300x091+H28.0*","H31.000x004","H43.800x005","H40.506","H35.010","H31.800x002","H21.300x012","E50.600x001+H19.8*","S00.100x006","E11.302+H28.0*","H59.001","H54.001","E11.303+H22.1*","H50.601","H52.701","H04.100","H50.200x004","H18.901","H02.809","S05.400x002","E10.300x034+H36.0*","H16.800x010","H21.501","H21.506","H59.002","H31.100","H35.301","S01.101","H02.703","E85.418","S05.207","H44.401","B02.306+H22.0*","H50.803","Q10.700","A18.507+H19.0*","H49.806","H05.005","H50.004","C69.200","H16.000","T26.600x001","Q14.801","H05.900x003","H33.502","B87.200x001+H58.8*","H16.200x001","H49.801","I70.800x003","T26.500","H02.901","H35.700x005","H18.900","E14.300x054+H22.1*","H52.300x002","T26.002","H34.200x005","T85.300x005","H21.500","H52.500","H02.000x004","H47.304","H16.100x007","H53.104","D22.100x004","S05.001","H53.400x005","H40.800x002","S05.803","H53.101","B30.201+H13.1*","H04.505","T20.500x012","H40.000","H40.401","H59.801","T85.303","H50.807","H05.800x006","H11.403","H51.000","H47.002","H16.100x008","H44.600","H34.800x001","H26.202","H43.804","T26.101","H30.000","S05.900","A50.301+H19.2*","H16.800x005","A52.702+H32.0*","S05.203","H25.800x001","H51.801","H57.100","Q11.200x001","C69.604","H47.006","H52.501","H52.700","H53.002","H40.501","Q15.003","H50.200x006","H16.200x006","H26.001","S05.804","H00.002","H44.600x004","E83.500x006+H28.1*","H35.804","T26.301","H43.803","T15.800x001","B60.100x004+H19.2*","H21.507","H50.003","H33.102","H02.300","D86.801","H26.801","H11.108","H35.302","D31.602","H04.305","H47.500x002","H40.102","H53.100x004","H01.901","T85.200x001","H50.804","H50.100","H50.402","H49.808","S05.603","T86.800x816","H20.000x004","H49.810","H35.800x010","H05.900","Q11.203","H01.100x006","H54.500","H31.800x004","H02.800x014","H44.200","H47.005","H47.200x003","H53.500x004","H11.800x005","E11.300x022+H36.0*","B30.301+H13.1*","T20.100x011","Q14.003","H46.x02","Q10.600","D31.200","H44.700x005","H44.000x005","D16.408","D09.201","E10.300x013+H36.0*","H35.600","H16.004","H50.000x009","C69.100","H50.600x004","H30.800x002","E14.300x014+H36.0*","H30.900x002","Q10.307","H10.102","H50.006","T20.100x010","H16.203","H53.501","Q10.300","H11.402","H43.802","H04.105","S05.605","E10.302+H28.0*","A54.303+H22.0*","I77.004","H27.900","E14.300x031+H36.0*","A18.500x013+H22.0*","E11.300x013+H36.0*","H16.001","H04.500x004","H10.200x001","H02.813","H53.000x004","D31.601","H16.300x004","M35.005+H19.3*","H31.800x001","H05.200","T26.400x001","C44.100x003","H05.300x003","H40.200x011","B60.100x002+H13.1*","H18.701","Z46.000","H33.100x004","H35.000x017","H53.000x005","H30.900","H30.100","T86.800x811","T20.000x010","H10.400","D18.000x821","Q14.300x001","H11.805","H30.100x003","T20.500x011","S05.811","H26.201","H47.302","H50.500x003","Q10.602","Q13.400x001","Q14.200x004","H05.300","H05.201","H18.800x007","H05.000","B30.200+H13.1*","H59.800x010","H26.802","H02.500x008","H21.401","D48.700x021","H04.003","H30.201","A18.504+H22.0*","H04.900x001","H51.800","H31.403","H26.400","H15.804","E10.300x031+H36.0*","H02.808","H31.200x006","B05.800x001+H19.2*","H35.006","H57.800x004","S00.100x003","L65.905","H33.500x002","H40.200x010","H26.900","H20.001","H31.400x003","H57.003","H57.900","E14.300x042+H36.0*","T20.200x011","H21.800x001","H44.600x003","H02.700x001","H05.100x008","C69.500x003","H57.000x003","B00.500x005+H19.1*","H50.005","H04.901","S04.000x004","T20.300x010","I70.800x007","H25.000","H27.800x001","H50.900","H16.100x006","H18.405","R94.106","H53.401","S05.700","H35.500x004","H30.801","H44.700x002","H59.800x007","H35.500x006","H04.601","H50.104","H05.500x002","H18.403","H44.300x002","H52.301","Q12.200","B00.500x009+H22.0*","H44.900","T26.000","H59.804","T20.200x012","E11.300x041+H36.0*","H53.500x009","H50.800x007","H43.200","S01.102","H35.306","A71.101","C69.000x001","T15.100x001","D31.000x001","H21.400","H40.000x004","H21.300x006","E11.300x036+H36.0*","T20.400x011","T85.800x805","S05.302","H59.800x008","H11.404","S05.306","T85.300x009","E14.300x043+H36.0*","C69.503","D04.100x001","H04.400","A18.500x010+H32.0*","E11.300x033+H36.0*","D31.600","H53.102","H26.003","Q12.801","H54.900","H44.700x004","H21.500x003","H43.806","E11.300x042+H36.0*","H18.800x005","H02.801","H31.402","B60.100x003+H19.2*","H05.301","Q10.301","H04.801","H11.104","H05.802","H18.402","D31.501","H40.100x004","H55.x00","H35.807","H02.805","E14.300x024+H36.0*","D48.705","H40.000x001","H54.200","Q10.600x002","H15.900","H20.000x003","H04.600","E11.300x043+H36.0*","H35.007","H18.401","H44.600x002","D31.500x001","H26.300","D31.900","S04.000x002","H18.808","T20.600x012","H30.001","S05.303","H50.000x004","H59.800x014","H10.100","B49.x03+H19.2*","E50.500x001+H58.1*","H44.300","H50.002","H31.404","H01.100x003","H04.300x005","H02.300x004","H53.300x001","T26.901","H50.500","H10.200","T85.200","H21.200x009","H47.303","E11.300x053+H36.0*","D31.605","H16.803","H04.401","H40.801","H40.300","S05.200x007","H04.304","H26.200x005","T85.800x808","T85.800x807","E11.300x044+H36.0*","H21.510","H04.603","Q14.301","H18.800x009","H44.000","H34.000","D23.101","H15.803","D48.706","H02.503","Q10.300x011","H16.800x014","H04.507","H53.400","H44.501","H02.806","H26.100","H35.800x008","S05.500x003","E10.301+H36.0*","E14.300x032+H36.0*","H59.805","T15.101","H02.500","Q10.000","H05.203","Q14.200x002","H53.000x001","H31.802","H30.000x004","H21.508","D22.100","Z44.201","H35.001","S05.900x003","H53.300x002","H02.802","B00.504+H03.1*","H33.000x006","E65.x00x006","H02.812","A50.300+H58.8*","T20.100x012","H01.100x004","H35.400x003","A54.302+H13.1*","T85.300x001","H18.700","H04.103","T26.500x003","H47.600x001","H18.500","E14.300x012+H36.0*","H04.102","S05.600x002","H21.500x011","C79.406","R94.101","H01.000","H43.100","H47.301","T85.310","H21.300x008","S05.809","H44.300x003","S05.200x003","H20.200","A50.300x002+H19.2*","C49.003","H16.800x006","H26.300x004","S05.304","H20.004","Q13.300","H31.300x004","H31.301","H35.701","E11.300x052+H22.1*","H44.802","T85.202","T86.810","H50.000x002","A30.900x007+H32.0*","E70.302","A18.500x002","H59.809","H18.300x001","T20.500x010","H04.600x003","H02.000","H40.002","H20.901","H02.101","H05.900x004","N18.508+H32.8*","H30.200","H35.300x011","H59.800x013","H20.900","H50.007","H04.800x002","H05.204","D48.200x010","E14.300x071+H36.0*","H18.804","H35.503","N18.504+H32.8*","H33.301","Q15.000","H16.402","H16.800x003","H53.500x007","H18.803","B30.300+H13.1*","B00.503+H58.8*","E14.300x011+H36.0*","H50.602","H59.800x015","Q14.203","D31.300","H15.000x002","E14.300x051+H42.0*","Z03.801","H18.501","E14.300x022+H36.0*","H33.302","H31.302","H02.502","H47.500x004","H50.600x003","H11.807","H44.101","T86.809","H21.201","I80.801","A18.506+H19.2*","H35.200","H40.403","H52.500x001","H53.402","E10.300x052+H22.1*","H33.002","H26.000x002","H35.300","H02.700x008","H44.102","D23.302","H16.100x004","H40.200x012","H25.000x003","H26.901","H35.300x009","E10.300x025+H36.0*","T85.300x003","Z42.003","H44.003","H50.201","T90.101","H40.800x005","A51.402+H22.0*","H40.500","H16.301","E10.300x044+H36.0*","T20.600x010","Q12.400","S05.400x001","H50.302","B58.000","H15.100","H11.801","D04.101","I86.803","H04.604","H35.802","H47.004","H11.405","H02.803","D18.000x002","H17.100","H50.107","H51.000x001","S02.811","H33.500x008","D09.202","H20.900x002","H34.802","H18.500x007","C69.401","D09.200","S05.810","Q10.200","H53.100x001","E10.300x023+H36.0*","E11.300x021+H36.0*","H53.103","H54.400","H02.501","H17.802","E14.300x053+H36.0*","H35.806","H35.009","H20.002","A36.800x006+H22.8*","H44.901","T26.600x003","Z41.101","E50.100x002+H13.8*","S02.801","T85.903","H53.500x008","Q10.500x004","H21.502","H16.000x001","H16.401","H50.200","H50.800x006","H47.500x003","H53.001","H53.400x006","H40.101","H18.801","Q12.001","Q11.000","B00.501+H19.1*","H20.804","H02.900x003","Q11.200","E11.300x046+H36.0*","H33.001","H50.801","T26.604","H05.101","H35.900","S05.601","H59.900","T85.800x809","H02.301","H59.808","H21.200x008","A06.801","S05.500x002","H05.205","H49.805","S05.305","H16.205","E11.300x012+H36.0*","Q14.202","H11.200","H31.000x005","H53.802","T85.800x806","H31.401","Q14.000x006","H49.400x001","H10.401","Q14.201","Q10.304","H04.302","H21.300x011","H53.800x001","T26.605","H33.100","H35.008","H18.504","H20.803","H21.300x009","H05.801","H21.203","H33.300x006","H35.500","H05.000x002","Q10.500","H31.000","C44.101","H33.300","T26.902","S05.805","H40.200","H25.000x005","H33.000","D31.400","H15.802","H21.102","H52.200","A71.900","E10.300x042+H36.0*","H21.500x013","H25.200","B00.502+H13.1*","H34.900","H33.000x007","H21.500x015","Q10.306","H20.801","H27.000","H31.400","B30.001+H19.2*","E10.300x011+H36.0*","H53.900","H05.800x003","Q12.002","H21.101","S04.000x003","H35.601","B02.305+H22.0*","E11.300x024+H36.0*","H43.805","T26.100x003","H18.100","H54.601","H04.000","H11.400","H16.302","H33.503","H02.102","H35.502","H52.000","H40.100x001","H35.400x006","H16.101","S05.902","H34.200x002","H49.400","T15.900","E50.000x001+H13.8*","S00.201","H40.500x009","D86.800x003+H22.1*","Q15.803","H33.500","H40.000x002","H11.100x001","H16.303","H49.001","H04.900","H52.500x003","B07.x02","H50.100x004","H44.801","H31.300","Q75.500","H33.200","H21.300x010","T85.308","D18.000x804","H35.303","H21.202","H16.900","Q13.401","H11.105","H55.x00x002","H10.801","H05.400","E14.300x046+H36.0*","E10.300x045+H36.0*","H15.001","S05.000x002","H16.802","H04.502","H50.300x004","A18.503+H48.8*","H44.600x005","H17.902","S05.200x006","H25.001","T26.900x001","H35.000x020","H44.503","H04.002","Q15.801","B02.307+H19.2*","H02.504","H26.400x003","D48.703","H31.801","H18.001","H21.504","H35.501","H31.200x004","H16.002","H33.000x005","H04.800x003","H18.500x005","S05.300x010","H11.100x007","H21.403","Q13.201","H01.101","I70.801","Q14.100x003","T20.000x011","A36.801+H13.1*","H18.000","Q14.900","D18.000x805","Z42.004","C69.601","D23.100x001","H31.102","Q13.500x002","H49.800x002","H53.105","C79.405","A50.000x001+H32.0*","H50.800x010","C79.409","Q11.100","S05.002","E14.300x023+H36.0*","C69.600x001","H16.007","T85.300x006","B00.507+H19.1*","H40.200x007","H52.600","H40.100","D03.100x002","H50.405","H50.600x005","H51.100","B02.304+H13.1*","H46.x00","H05.800","S00.200","H50.102","H15.805","H21.300x013","H35.703","Q10.100","A52.700x015+H58.8*","H35.300x012","Q13.301","E11.300x091+H28.0*","H11.106","H18.400x004","Q14.102","H43.801","S05.201","H54.000","E11.300x023+H36.0*","T85.312","E88.906+H28.1*","H44.200x001","H10.901","H25.002","H33.500x006","B02.302+H19.2*","A52.701+H22.0*","H20.900x006","Q10.701","H18.807","H34.204","H59.807","E11.300x045+H36.0*","H18.400x003","T15.801","E10.300x022+H36.0*","H11.401","B30.800+H13.1*","H34.202","H20.100","H21.800","H35.000x004","E11.300x014+H36.0*","B26.801+H13.1*","E14.300x052+H22.1*","Q14.103","H02.506","S02.311","E10.300x015+H36.0*","E10.303+H22.1*","S01.000x002","Q10.601","H25.000x002","H16.006","H47.101","H18.000x005","H53.500x006","H34.804","H50.301","T26.600x002","Q13.400x004","H21.000","H50.802","C79.408","R94.105","H44.001","H05.103","H33.501","H05.500x001","H21.200x005","E11.300x011+H36.0*","H10.101","E14.300x013+H36.0*","H11.803","H10.300","H35.702","E13.300x571+H36.0*","H50.800x003","H53.801","H44.700x009","H33.100x006","H18.300x002","D31.603","H44.400","Q87.005","H53.400x003","H26.401","C69.901","H05.900x002","D31.500x003","H50.001","H15.801","H54.300","H44.104","H04.000x004","H16.100x005","H52.101","E11.300x051+H42.0*","H59.802","D31.600x001","T26.602","H57.000","A18.501+H32.0*","H18.506","T20.200x010","H15.800x010","H04.303","H21.200x006","H11.100","H25.900","B00.509+H03.1*","E11.300x015+H36.0*","E14.300x041+H36.0*","S05.602","E10.300x032+H36.0*","A51.405+H58.8*","S04.000x001","H04.300","H50.008","H04.101","E11.301+H36.0*","H54.600","H01.100x005","S05.807","S01.103","H53.400x007","T26.700x001","H34.200x004","H18.600","H34.203","H40.200x009","Q11.201","H16.100x009","H35.809","H35.000","A51.400x005+H22.0*","Z48.801","Q12.300","A39.801+H13.1*","H16.201","Q85.804","H16.000x010","A18.500x008+H13.1*","H53.800x002","H11.300","E10.300x047+H36.0*","H18.200","E10.300x041+H36.0*","S05.300","H00.100","C69.603","Q87.800x910","H02.001","H18.702","H26.100x002","B89.x02+H06.1*","E14.400x180+G59.0*","H15.000","Q18.803","H53.400x004","E20.902+H28.1*","H21.003","E50.701+H19.8*","Q10.404","H25.000x006","H35.012","Q10.303","S05.300x004","S05.307","D17.700x005","A52.100x012+H48.1*","H16.204","H35.500x003","H54.400x002","H35.500x005","H49.803","E14.300x036+H36.0*","E10.300x014+H36.0*","Q14.104","H02.002","S05.401","H50.101","C44.102","H50.603","Q12.000","H49.804","H25.000x007","H33.200x002","H18.300","H35.305","T85.311","D03.100x003","E14.300x025+H36.0*","H21.104","H53.300","H16.000x006","Q11.202","H16.103","H02.800x018","T26.900","S00.101","Z52.500","H44.500","H15.800x008","H40.505","H17.803","H35.000x014","C69.400","H47.100","H21.500x004","T85.300x004","H00.003","C69.400x005","H18.700x005","H16.801","T15.000","T20.400x010","C79.200x002","A71.100x003","H21.103","E14.300x034+H36.0*","H30.000x002","H11.301","T85.304","H59.000","H27.102","H02.704","H05.004","H05.202","H02.700","H43.800x004","E05.002+H06.2*","H40.103","T79.800x006","H30.901","H35.800x009","H02.900","H31.000x002","H11.900","E10.300x051+H42.0*","E10.300x035+H36.0*","H35.808","C69.800","H02.804","S05.200x004","H20.802","H33.100x005","H47.003","H10.000","T85.201","H26.000x005","H47.200","H11.806","H10.103","H57.800x003","E50.200x001+H19.8*","Q13.000","S00.202","T66.x02+H47.5*","Q10.400","H11.201"};
        String[] dept_list={};
        if (!(true && Base.contains(mdc_zd,record.zdList[0]))){
            return "";
        }
        
        Base.groupMessages.putMessage(record.Index,"符合MDCC入组条件，匹配规则：主诊断匹配");
        String result;

        result=CB1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CB2.group(record);
        if (result.length()>0){
            return result;
        }

        result=CB3.group(record);
        if (result.length()>0){
            return result;
        }

        result=CB4.group(record);
        if (result.length()>0){
            return result;
        }

        result=CC1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CD1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CD2.group(record);
        if (result.length()>0){
            return result;
        }

        result=CJ1.group(record);
        if (result.length()>0){
            return result;
        }

        if (false && record.ssList!=null && record.ssList.length>0  && Base.intersect(Base.SS_VALID,record.ssList)){
            Base.groupMessages.putMessage(record.Index,"符合CQY入组条件，存在有效手术操作："+String.join(",",Base.Intersect(record.ssList,Base.SS_VALID)));
            return "CQY";
        }

        result=CR1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CS1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CT1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CU1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CV1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CW1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CX1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CZ1.group(record);
        if (result.length()>0){
            return result;
        }

        Base.groupMessages.putMessage(record.Index,"不符合MDCC的ADRG入组条件");
        return "";
    }
}

